rem vs命令行工具
set _devenv="D:\Program Files\Common7\IDE\devenv.exe"
rem vs项目盘符
set _proj_disk=C:
rem vs项目目录
set _proj_path=C:\Users\wuxueyin\Documents\Visual Studio 2012\Projects
rem protobuf项目名
set _proto_proj=ProtoModelDLL
rem protobuf创建序列化项目名
set _serializer_proj=ProtoModelSerializerCreator
rem 生成的dll名
set _proto_dll="ProtoModelDLL.dll"  
set _serializer_dll="ProtoModelSerializer.dll"
rem 生成dll目标目录
set _target_path="D:\projects\InlyFrameWork\Client\UnityPackage\Assets\Inlycat\Plugins\DLL"

set _solution_file1="%_proj_path%\%_proto_proj%\%_proto_proj%.sln"
set _solution_file2="%_proj_path%\%_serializer_proj%\%_serializer_proj%.sln" 
set _creator_path="%_proj_path%\%_serializer_proj%\%_serializer_proj%\bin\Debug" 
set _creator_exe="%_serializer_proj%.exe"

%_devenv% %_solution_file1% /Build
%_devenv% %_solution_file2% /Build
%_proj_disk%
cd %_creator_path% 
%_creator_exe%
copy %_proto_dll% %_target_path%
copy %_serializer_dll% %_target_path%

pause